package patterns.Observer.main;

import patterns.Observer.core.MySubject;
import patterns.Observer.core.Observer1;
import patterns.Observer.core.Observer2;
import patterns.Observer.core.Subject;

public class Test {
	public static void main(String[] args) {
		Subject subject = new MySubject();
		subject.add(new Observer1());
		subject.add(new Observer2());
		subject.operation();
	}
}
